﻿using M.ShopMachine.Domain;
using Microsoft.EntityFrameworkCore;

namespace M.ShopMachine.Repository
{
    public class EFDbContext:DbContext
    {
        public EFDbContext(DbContextOptions<EFDbContext> options) : base(options) { }

        public DbSet<Workshop> WorkShop { get; set; }
        public DbSet<Patrol> Patrol { get; set; }
        public DbSet<Maintain> Maintain { get; set; }
        public DbSet<Device> Device { get; set; }
        public DbSet<ShopMachineRelation> ShopMachineRelation { get; set; }
    }
}
